package jin.competition.jan08;

public class Person {
	private String date;
	private String name;
	private String food;
	private String words;
	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFood() {
		return food;
	}

	public void setFood(String food) {
		this.food = food;
	}

	public String getWords() {
		return words;
	}

	public void setWords(String words) {
		this.words = words;
	}
	public String eat(){
		return "去吃了";
	}

	public String judge(){
		return "他评价";
	}

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Person ming=new Person();
		ming.setDate("今天");
		ming.setName("小明");
		ming.setFood("火锅");
		ming.setWords("真好吃");
		System.out.println(ming.getDate()+ming.getName()+ming.eat()+ming.getFood()+"。"+ming.judge()+ming.getWords());

	}

}
/* 今天小明去吃了，火锅。他评价真好吃。用程序描述*/